Compute HCEP

 Command:

Create RCEP and use the SHA-1 algorithm to compute HCEP

Notes:

Use of this command requires the optional ESP licence. Error code 67 will be returned if the command is not licensed.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Command Code

2 A

Value “U2”

*KML

32 H or 1A+32H

Double length KML encrypted under LMK pair 20-21 variant 1

IDLACQ

4 B

Load Acquirer ID

IDLDA

6 B

The Identifier for the Load Device

IDISS

4 B

The Issuer ID

IDCEP

6 B

The CEP Card Identifier

NTCEP

2 B

The transaction number assigned by the Load Acquirer

End Message Delimiter

1 C

Optional. Must be present if a message trailer is present. Value X'19

Message Trailer

n A

Optional. Maximum length 32 characters

RESPONSE MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Response Code

2 A

Value “U3”

Error Code

2 N

00 – No error.

10 – KML parity error

12 – No keys loaded in user storage

13 – LMK error - report to Supervisor

15 – Error in input data

21 – Invalid user storage index

  

HCEP

10 B

SHA hash of input data and RCEP .

End Message Delimiter

1 C

Will only be present if present in the command message. Value X'19

Message Trailer

n A

Will only be present if in the command message. Maximum length 32 characters